#ifndef  G_TCPSRV_H_
#define  G_TCPSRV_H_


#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/select.h>
#include <netinet/tcp.h>

#include "../common/common.h"
#include "../common/global.h"
#include "rtspSrv.h"

#define MAXCONNECT_NUM (10)


/*TCP Function*/
int   creatTcpSocket(int port);
void  selectLoop(int fd);


#endif